﻿using LimaLims.Application.Service.TestCenter.Dto;
using LimaLims.Core.Entity.TestCenter;
using LimaLims.Core;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LimaLims.Application.Service.TestCenter
{
    /// <summary>
    /// 不良品处理接口定义
    /// </summary>
    public interface IRejectDealService
    {
        /// <summary>
        /// 发起不良品处理单据
        /// </summary>
        Task Add(AddRejectDealInput input);

        /// <summary>
        /// 不良品处理
        /// </summary>
        Task Deal(EditRejectDealInput input);

        Task<RejectDealDetail> Detail(long id);

        Task<PageResult<RejectDealOutput>> QueryPage([FromQuery] RejectDealPageInput input);
    }
}
